<%--
  Created by IntelliJ IDEA.
  User: 梁玉杰
  Date: 2021/7/8
  Time: 10:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

    <%--layui框架的css--%>
    <link rel="stylesheet"
          href="${pageContext.request.contextPath}/libs/layui/css/layui.css"
          media="all">

</head>
<body>


<form class="layui-form" action="${pageContext.request.contextPath}/register">
    <div class="layui-form-item">
        <label class="layui-form-label">用户名：</label>
        <div class="layui-input-block">
            <input type="text" name="username" lay-verify="username" autocomplete="off" placeholder="请输入用户名" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">邮箱：</label>
        <div class="layui-input-block">
            <input type="text" name="email" lay-verify="email" autocomplete="off" placeholder="请输入邮箱" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">密码：</label>
        <div class="layui-input-block">
            <input type="password" name="password" lay-verify="password" autocomplete="off" placeholder="请输入密码" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">确认密码：</label>
        <div class="layui-input-block">
            <input type="password" name="confimpassword" lay-verify="confimpassword" autocomplete="off" placeholder="请确认密码" class="layui-input">
        </div>
    </div>




    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>


<script type="text/javascript"
        src="${pageContext.request.contextPath}/libs/jquery/jquery-3.5.1.js"></script>
<script type="text/javascript"
        src="${pageContext.request.contextPath}/libs/layui/layui.js"></script>
<script type="text/javascript"
        src="${pageContext.request.contextPath}/static/js/register.js"></script>


</body>
</html>
